#pragma once

class Location
{
public:
    Location() : _x(0), _y(0) { }
    Location(float x, float y) : _x(x), _y(y) { }

    float x() const { return _x; }
    float y() const { return _y; }

    void setX(float value) { _x = value; }
    void setY(float value) { _y = value; }

private:
    float _x;
    float _y;
};
